package com.dapeng.cleardatabackend.model.dto.node;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author dapeng
 * @description 节点删除请求
 * @date 2024/12/26 20:12
 */
@Data
@ApiModel(description = "节点删除请求")
public class NodeDeleteRequest implements Serializable {

    private static final long serialVersionUID = 431319699180079952L;

    /**
     * 图谱id
     */
    @ApiModelProperty(value = "图谱id", required = true)
    @NotNull(message = "图谱id不能为空")
    private Long graphId;

    /**
     * 节点id
     */
    @ApiModelProperty(value = "节点id", required = true)
    @NotNull(message = "节点id不能为空")
    private Long id;
}
